﻿@model IEnumerable<BugTracker.Models.Project>
@{
    ViewBag.Title = "Project";
    Layout = "~/Views/Shared/_LayoutAdmin.cshtml";
    
}

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

<br />
<br />
<br />
<br />
<fieldset>

<center>
<br />
<div>
@Html.Partial("_ReportsLayout")
</div>
</center>
<br />
<br />
@using (Ajax.BeginForm("Project", "ProjectManager", new AjaxOptions
{
    HttpMethod = "GET",
    InsertionMode = InsertionMode.Replace,
    UpdateTargetId = "webgrid"
}))
{

}
<div id="webgrid">
@Html.Partial("_Project")
</div>

<div>
    <p align="center">
        <a href="ExportToExcelProject">
        <input type = "submit" value = "Export To Excel" /></a>
    </p>
</div>
<br />
<br />
</fieldset>